﻿#define _CRT_INSECURE_DEPRECATE_MEMORY
#include <stdio.h>
// 结构体
struct book {
	char name[20];
	int total;
	float price;
};

void Swap(int* x, int* y) {
	int temp = 0;

	*x = *x + *y;
	*y = *x - *y;
	*x = *x - *y;

	/*temp = *x;
	*x = *y;
	*y = temp;*/
}

int main()
{
	/*int a = 10;
	int b = 20;

	printf("a = %d b= %d \n", a, b);
	Swap(&a, &b);
	printf("a = %d b= %d \n", a, b);*/



	return 0 ;
}

